package com.barunsw.bwf.bims.channel_history;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.barunsw.bwf.bims.vo.ChannelHistoryVo;

@Repository
public interface ChannelHistoryDao {
	public List<ChannelHistoryVo> selectList(
			@Param("channelId") long channelId, 
			@Param("count") long count,
			@Param("startTime") String startTime, 
			@Param("endTime") String endTime);
	
	public int insertHistory(ChannelHistoryVo historyVo);
	public int deleteHistory(
			@Param("channelId") long channelId, 
			@Param("startTime") String startTime, 
			@Param("endTime") String endTime);
}
